package cn.itsource.pethome.org.service;

import cn.itsource.pethome.Basic.service.IBaseService;
import cn.itsource.pethome.org.domain.Employee;
import cn.itsource.pethome.org.domain.Shop;

import java.util.Map;

/**
 * 商家入住相关service接口
 */
public interface IShopService extends IBaseService<Shop>{
    /**
     * 商家入驻
     * @param shop
     */
    void settledln(Shop shop);

    /**
     *
     * @param shop_id
     * @return
     */
    Map<String,Object> findById(Long shop_id);

    /**
     * 通过用户获取店铺
     * @param loginUser
     * @return
     */
    Shop findByEmployee(Employee loginUser);
}
